import { ICustomViewAbility } from '../ability';
import { CustomViewActionType } from '../event';
import { IDEViewControllerParams } from './i-de-view-controller-params';

/**
 * 自定义视图控制器输入参数接口
 *
 * @export
 * @interface ICustomViewControllerParams
 * @extends {IDEViewControllerParams<T, A>}
 */
export type ICustomViewControllerParams<
	T,
	A extends ICustomViewAbility
> = IDEViewControllerParams<T | CustomViewActionType, A>;
